﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CTManagerSoln
{
    public partial class frmAccountManager : Form
    {
        public frmAccountManager()
        {
            InitializeComponent();
            this.FormBorderStyle = FormBorderStyle.FixedDialog;
            this.StartPosition = FormStartPosition.CenterScreen;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.TopMost = true;
        }

        private void frmAccountManager_Load(object sender, EventArgs e)
        {
            string username=txtuserName.Text;
            string hovaten=txthoten.Text;
            dataGridView1.AutoGenerateColumns = false;
            dataGridView1.DataSource= User.getUser(username, hovaten);
        }
    }
}
